package net.hn.hnms.biz.safety.trinity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/4
 */
@Data
@Entity
@ApiModel("隐患验收表")
@Table(name = "hidden_danger_list")
public class HiddenDangerList {

    @ApiModelProperty(value = "束管信息ID")
    @TableId(value = "danger_id")
    @Id
    private String dangerId;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "danger_status")
    @ApiModelProperty(value = "隐患状态")
    private String dangerStatus;

    @Column(name = "check_period")
    @ApiModelProperty(value = "排查周期（码表）")
    private String checkPeriod;

    @Column(name = "check_date")
    @ApiModelProperty(value = "排查日期")
    private Date checkDate;

    @Column(name = "check_shift")
    @ApiModelProperty(value = "排查班次（码表）")
    private String checkShift;

    @Column(name = "check_person_code")
    @ApiModelProperty(value = "隐患排查人编码")
    private String checkPersonCode;

    @Column(name = "check_person_name")
    @ApiModelProperty(value = "隐患排查人名称")
    private String checkPersonName;

    @Column(name = "danger_location")
    @ApiModelProperty(value = "隐患地点(风险点)")
    private String dangerLocation;

    @Column(name = "danger_class")
    @ApiModelProperty(value = "隐患类型（码表）")
    private String dangerClass;

    @Column(name = "danger_level")
    @ApiModelProperty(value = "隐患等级（码表）")
    private String dangerLevel;

    @Column(name = "danger_description")
    @ApiModelProperty(value = "隐患描述")
    private String dangerDescription;

    @Column(name = "danger_major")
    @ApiModelProperty(value = "隐患专业（码表）")
    private String dangerMajor;

    @Column(name = "danger_from")
    @ApiModelProperty(value = "隐患来源（码表）")
    private String dangerFrom;

    @Column(name = "duty_dept_codes")
    @ApiModelProperty(value = "责任单位编码")
    private String dutyDeptCodes;

    @Column(name = "duty_dept_names")
    @ApiModelProperty(value = "责任单位名称")
    private String dutyDeptNames;

    @Column(name = "duty_person_codes")
    @ApiModelProperty(value = "隐患地点(责任人编码)")
    private String dutyPersonCodes;

    @Column(name = "duty_person_names")
    @ApiModelProperty(value = "责任人名称")
    private String dutyPersonNames;

    @Column(name = "reform_class")
    @ApiModelProperty(value = "整改类型（码表）")
    private String reformClass;

    @Column(name = "reform_deadline")
    @ApiModelProperty(value = "限期时间")
    private Date reformDeadline;

    @Column(name = "reform_money")
    @ApiModelProperty(value = "投入资金")
    private String reformMoney;

    @Column(name = "reform_opinion")
    @ApiModelProperty(value = "整改意见")
    private String reformOpinion;

    @Column(name = "reform_date")
    @ApiModelProperty(value = "整改日期")
    private Date reformDate;

    @Column(name = "reform_policy")
    @ApiModelProperty(value = "整改措施")
    private String reformPolicy;

    @Column(name = "reform_dept_code")
    @ApiModelProperty(value = "整改单位编码")
    private String reformDeptCode;

    @Column(name = "reform_dept_name")
    @ApiModelProperty(value = "整改单位名称")
    private String reformDeptName;

    @Column(name = "reform_person_code")
    @ApiModelProperty(value = "整改人编码")
    private String reformPersonCode;

    @Column(name = "reform_person_name")
    @ApiModelProperty(value = "整改人名称")
    private String reformPersonName;

    @Column(name = "accept_date")
    @ApiModelProperty(value = "验收日期")
    private Date acceptDate;

    @Column(name = "accept_dept_codes")
    @ApiModelProperty(value = "验收单位编码")
    private String acceptDeptCodes;

    @Column(name = "accept_dept_names")
    @ApiModelProperty(value = "验收单位名称")
    private String acceptDeptNames;

    @Column(name = "accept_person_codes")
    @ApiModelProperty(value = "验收人编码")
    private String acceptPersonCodes;

    @Column(name = "accept_person_names")
    @ApiModelProperty(value = "验收人名称")
    private String acceptPersonNames;

    @Column(name = "data_time")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @Column(name = "danger_sys_type")
    @ApiModelProperty(value = "隐患系统类型（码表）")
    private String dangerSysType;

}
